import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import test_web from '@/components/test_web'
import Draws from '@/components/Draws'
import chart from '@/components/chart'
import Wechatpay from '@/components/Wechatpay'
import orderitem from '@/components/orderitem'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/orderitem',
      name: 'orderitem',
      component: orderitem
    },

    {
      path: '/test_web',
      name: 'test_web',
      component: test_web
    },
    {
      path: '/draws',
      name: 'Draws',
      component: Draws
    },
    {
      path: '/chart',
      name: 'chart',
      component: chart
    },
    {
      path: '/pay',
      name: 'Wechatpay',
      component: Wechatpay
    },
  ]
})
